import Vue from "vue"
import App from "./App.vue"
import router from "./router"
import store from "./store"
// 导入字体图标
import "./assets/iconfont/iconfont.css"
// 按需引入
// import "./plugins/element.js"
// 导入全局样式表
import "./assets/css/global.css"
import moment from "moment"
import utils from "./common/utils.js"
import mavonEditor from "mavon-editor"
import "mavon-editor/dist/css/index.css"
// import "./socket/login"
// 导入全局配置
import config from "./common/config"
import '@common/request.js'

Vue.prototype.$utils = utils
Vue.prototype.$moment = moment
Vue.prototype.$config = config

Vue.config.productionTip = false
Vue.use(mavonEditor)
new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app")
